<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!--Created from template:  verifyValidation.html.vm-->
<title>Verify negative scenario for validation 'required' for input 'Repeat New Password' in form 'changePassword' on page 'Change Password'</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Verify negative scenario for validation 'required' for input 'Repeat New Password' in form 'changePassword' on page 'Change Password'</td></tr>
</thead><tbody>

<tr>
	<td>echo</td>
	<td>TC_pgchangePassword_fmchangePassword_inprepeatNewPassword_valrequired_verifyValidation_000</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>This test case verifies the result of populating the input 'Repeat New Password' in form 'changePassword' on page 'Change Password' with a value that will create a negative test scenario against the validation 'required'.</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>TC_pgchangePassword_fmchangePassword_inprepeatNewPassword_valrequired_verifyValidation_001</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>Execute onblur event to trigger ajax validation of the input 'Repeat New Password' in form 'changePassword' on page 'Change Password'.</td>
	<td></td>
</tr>
<tr>
	<td>fireEvent</td>
	<td>changePassword:repeatNewPassword</td>
	<td>blur</td>
</tr>
<tr>
	<td>echo</td>
	<td>TC_pgchangePassword_fmchangePassword_inprepeatNewPassword_valrequired_verifyValidation_002</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>Verify the error message that is displayed is correct for the validation 'required' for the input 'Repeat New Password' in form 'changePassword' on page 'Change Password'.</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>Please repeat your new password.</td>
	<td></td>
</tr>
<!--The following command verifies that there is exactly 1 error message associated with the 'Repeat New Password' input in form 'changePassword' on the 'Change Password' page. -->
<tr>
	<td>verifyXpathCount</td>
	<td>//${ns}span[@id='changePassword:repeatNewPassword_message']/${ns}span</td>
	<td>1</td>
</tr>
<!--The following command verifies the text of the error message. -->
<tr>
	<td>verifyTextPresent</td>
	<td>exact:Please repeat your new password.</td>
	<td></td>
</tr>
</tbody></table>
</body>
</html>
<!-- clickframes::version=3624323263::clickframes -->